Human factors and error in perinatal care: the interplay between nurses, machines, and the work environment