Dynamical control of quantum heat engines using exceptional points