Adaptive mesh techniques for the FEM-FDTD hybrid solver