Two U.S. states have passed bills banning abortions from being performed after a heartbeat is detected during pregnancy.