medieval literature definition