Spectrophotometric method for assay of penicillins