Effects of alkaline-earth dopants on structural, optical and magnetic properties of Bi2Fe4O9 powders