UK's Prince William engaged to longtime girlfriend