Court grants bail to rape accused asks him to marry survivor within months