Essays on the efficiency of markets