Investigation into NHS maternity services announced by health secretary