Essays on prices and frictions