how did they cut hair in medieval times