Meep: A flexible free-software package for electromagnetic simulations by the FDTD method