Energy gap,Tc, and density of states in high-temperature superconductors for retardeds- andd-wave interactions