Warning after explosive distress flares buried on beach