Contact-Safe Reinforcement Learning with ProMP Reparameterization and Energy Awareness