The Trotter product formula for perturbations of semibounded operators