Nurses and midwives union accepts revised pay and conditions offer