Control of multiphoton processes by parametrically shaped ultrashort laser pulses