Celtic, Rangers and Motherwell have been punished by the SPFL after their supporters used pyrotechnics during the semi-finals and final of the Premier Sports Cup at Hampden earlier this season.