There are more than 5,600 NHS job vacancies in Wales with one in 10 medical and dental posts unfilled