Study of solar and interplanetary parameters and their effects on earth for solar cycle 24 and rising phase of solar cycle25