Controlled generation of higher-order Poincaré sphere beams from a laser