What factors led to the emigration of Muhammad and his followers from Mecca to Medina?