5.2 magnitude earthquake hits northern Morocco