Near ultraviolet to near infrared luminescence spectroscopy of Er3+ doped K2GdF5 crystal