Allahabad High Court grants bail to man for performing nikah