Retrieval phase diagrams for attractor neural networks with optimal interactions