Stellar contents of two young open clusters: NGC 663 and 654