Magnetic anisotropy of doped manganite thin films and crystals