More than half of resident doctors are dissatisfied with their training, RCP warns