NHS spends £50m on sleeping pills