Junior doctors reject proposed contract