Indian authorities have demolished a 16th-century mosque in Uttar Pradesh as part of project to widen a road.