Effects of motivation and expectations on perception