Search for light resonances decaying into pairs of muons as a signal of new physics