Study of the solar perovskite CsMBr3 (M=Pb or Ge) photovoltaic materials: Band-gap engineering