Exchange and correlation energy in the adiabatic connection fluctuation-dissipation theory beyond RPA