Glassy dynamics in models of confluent tissue with mitosis and apoptosis.