An analysis of the ability of nurses to identify the anxiety levels of patients in general medical and surgical wards