Efficient Pricing of Early: Exercise and Exotic Options Based on Fourier Cosine Expansions