Hoàng tử Frederick, Công tước York và Albany