Operation of erbium-doped fiber amplifiers and lasers pumped with frequency-doubled Nd:YAG lasers