The number of people diagnosed with the deadliest form of skin cancer each year in the UK has risen above 20,000 for the first time, new figures show.