What religious service was most important to the medieval monks and nuns who lived, worked, and prayed in the monasteries?