Generalized contractions in partially ordered metric spaces