a birth control pill can be used for preventing pregnancy