On the relation between cloud top temperature and precipitation