One in three GPs intends to quit within five years, survey finds