Shell-Model Calculations of f p-Shell Nuclei with Realistic NN Interactions