Embedded contact homology and open book decompositions