Electrical detection of magnetization dynamics in an ultrathin CoFeB film with perpendicular anisotropy