Maslov index, Poincaré - Birkhoff theorem and periodic solutions of asymptotically linear planar Hamiltonian systems