Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformer