UK department store operator John Lewis has recorded a jump in full-year profit fuelled by online growth.