Investigation of structural, magnetic and optical properties of rare earth substituted bismuth ferrite