UK unemployment has risen to 5.1%, official figures show, with the under-25s hit hardest.