Controlling magnetoelectric coupling by nanoscale phase transformation in strain engineered bismuth ferrite.