How educational innovations and attention to competencies in postgraduate medical education relate to preparedness for practice: the key role of the learning environment