Pumps for in-ground and above-ground pools