Relational quantum mechanics