Supreme court rules states can ban abortion, statements