how long did the moors rule europe