Four Scottish pharmacy workers became ill with whooping cough after a colleague returned to work too soon, a pharmacy association chief has revealed.