Sharp L^p estimates for Schrödinger groups on spaces of homogeneous type