The Prince of Wales has said more needs to be done to make the Armed Forces more inclusive for women.