Engines having ports both in cylinder head and in cylinder wall near bottom of piston stroke