Magnetic field distribution in models of trabecular bone