BMA will ask members about “lived experience” of sexism and racism in the organisation