A theoretical method of designing the ports of a two-cycle internal combustion engine