British patents in decline while global competitors reach record levels