Competition in a chemostat with Beddington–DeAngelis growth rates and periodic pulsed nutrient