United Methodist pastor apologizes to his community following vote to ban same-sex marriages