The multilayer random dot product graph