Magnetic diffusion and dissipation in high-Tc superconductors subjected to sinusoidal applied fields