Finite groups with a five-component prime graph