Relationship between p-value and type I/II error