An internet blackout in Iran has eased while residents say calm has returned to the capital Tehran following protests that were crushed by security forces.