Hospitals struggle with shortage of registered nurses