Asset pricing with frictions