Electrical contacts to monolayer black phosphorus: A first-principles investigation