NHS to receive share of £78m to reduce medication errors