Preferences of the end members of the lanthanide series for A and B sites in BiFeO3