Optical spectroscopy, fluorescence dynamics and crystal field analysis of Er3+ in YVO4