Measurement of the CP-Violating Asymmetries in B0 -> KS pi0 and of the Branching Fraction of B0 -> K0 pi0