An Epidemic Model SIPHERD and its application for prediction of the COVID-19 infection for India and USA