Early-stage diagenesis of steroids