Star Formation Rates in Molecular Clouds and the Nature of the Extragalactic Scaling Relations