The study of interaction and charge transfer at black phosphorus–metal interfaces