Graphene on two-dimensional hexagonal BN, AlN, and GaN : electronic, spin-orbit, and spin relaxation properties