Extension of the Finite Integration Technique Towards Transient Mesh Refinement and its Application to Self-Consistent Beam Dynamics Simulations