Urgent and emergency care services at Scarborough Hospital have been rated as requiring improvement, following an inspection.