Resident doctors in Scotland fear for their future