British Medical Association members in England to walk out from 27 June until 2 July.